//! 重构后的服务器实现
//! 
//! 基于SOLID原则重构的服务器实现，提供：
//! 1. 面向接口编程的设计
//! 2. 高内聚低耦合的架构
//! 3. 可扩展的组件系统

pub mod standalone_server;
pub mod cluster_server;

// 重新导出主要类型
pub use standalone_server::{RefactoredStandaloneServer, StandaloneServerAdapter, create_production_standalone_server, create_standalone_server_from_config};
pub use cluster_server::{RefactoredClusterServer, ClusterServerAdapter, create_production_cluster_server, create_cluster_server_from_config};

#[cfg(test)]
pub use standalone_server::create_test_standalone_server;

#[cfg(test)]
pub use cluster_server::create_test_cluster_server;